package com.example.demo.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("petr")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Petr extends Model<Petr> {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer num;
    private String medclass;
    private String illness;
    private String reason;
    private Integer did;
    private Integer tid;
    private Integer fid;
    private Integer dtq;
    private Integer ttq;
    private Integer ftq;
    private double total;




}
